package com.ruoyi.common.constant;

/**
 * description: 公共常量类
 * date: 2021/07/06
 * author: tmac-1
 * version: 1.0
 */
public class CommonConstants {

    /**
     * 数字常量
     */
    public static final Integer MINUS_TEN = -10;
    public static final Integer MINUS_NINE = -9;
    public static final Integer MINUS_EIGHT = -8;
    public static final Integer MINUS_SEVEN = -7;
    public static final Integer MINUS_SIX = -6;
    public static final Integer MINUS_FIVE = -5;
    public static final Integer MINUS_FOUR = -4;
    public static final Integer MINUS_THREE = -3;
    public static final Integer MINUS_TWO = -2;
    public static final Integer MINUS_ONE = -1;
    public static final Integer ZERO = 0;
    public static final Integer ONE = 1;
    public static final Integer TWO = 2;
    public static final Integer THREE = 3;
    public static final Integer FOUR = 4;
    public static final Integer FIVE = 5;
    public static final Integer SIX = 6;
    public static final Integer SEVEN = 7;
    public static final Integer EIGHT = 8;
    public static final Integer NINE = 9;
    public static final Integer TEN = 10;
    public static final Integer ELEVEN = 11;
    public static final Integer TWELVE = 12;
    public static final Integer THIRTEEN = 13;
    public static final Integer FOURTEEN = 14;
    public static final Integer FIFTEEN = 15;
    public static final Integer SIXTEEN = 16;
    public static final Integer SEVENTEEN = 17;
    public static final Integer EIGHTEEN = 18;
    public static final Integer NINETEEN = 19;
    public static final Integer TWENTY = 20;
    public static final Integer ONE_HUNDRED = 100;
    public static final Integer ONE_THOUSAND = 1000;

    /**
     * 状态（是/否） Y、是 N、否
     */
    public static final String STR_Y = "Y";
    public static final String STR_N = "N";

    /**
     * 状态码200,成功
     */
    public static final Integer SUCCESS_CODE = 200;

    /**
     * 成功信息
     */
    public static final String SUCCESS_MSG = "操作成功";

    /**
     * 状态码500,失败
     */
    public static final Integer ERROR_CODE = 500;

    /**
     * 失败信息
     */
    public static final String ERROR_MSG = "系统异常，请联系管理员";

    /**
     * 英文逗号
     */
    public static final String E_COMMA = ",";
    /**
     * 点
     */
    public static final String POINT = ".";
    /**
     * png文件后缀名
     */
    public static final String PNG = ".png";
    /**
     * 星号
     */
    public static final String ASTERISK = "*";
    /**
     * 空字符串
     */
    public static final String EMPTY_STR = "";

    /**
     * 下划线
     */
    public static final String UNDER_SCORE = "_";

    /**
     * 英文冒号
     */
    public static final String E_COLON = ":";

    /**
     * 英文问号
     */
    public static final String E_QUESTION_MARK = "?";

    /**
     * 斜杠
     */
    public static final String SLASH = "/";

    /**
     * 双斜杠
     */
    public static final String DOUBLE_SLASH = "//";

    /**
     * 图片常见存储格式
     */
    public static final String PICTURE_TYPE = "bmp,jpg,png,tif,gif,pcx,tga,exif,fpx,svg,psd,cdr,pcd,dxf,ufo,eps,ai,raw,wmf,webp,avif";

    /**
     * 视频常见存储格式
     */
    public static final String VIDEO_TYPE = "wmv,asf,asx,rm,rmvb,mp4,3gp,mov,m4v,avi,dat,mkv,flv,vob";

    /**
     * mysql默认端口
     */
    public static final Integer MYSQL_PORT = 3306;

    private CommonConstants() {
    }
}
